package com.lysj.admin.master.common.spring.jpa;


import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;

@Target({FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface JpaPredicate {

    String property() default "";//对应字段名

    PredicateEnum value() default PredicateEnum.EQ;//谓语动作
}
